package com.plian.system.entity.im;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: lwb
 * @Description: TODO 投资-投资负面清单子表
 * @Date: 2023/2/8
 * @Version: 1.0
 **/
@Data
@TableName("im_negative_supervise")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "NegativeSupervise对象", description = "投资-投资负面清单监管类子表")
public class NegativeSupervise extends BaseEntity {

    @ApiModelProperty(value = "父类清单id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long typeId;

    @ApiModelProperty(value = "序号")
    private Integer serialNumber;

    @ApiModelProperty(value = "监管类内容")
    private String superviseContent;

    @ApiModelProperty(value = "文件名称")
    @TableField(exist = false)
    private String negativeListName;
}
